﻿<!--@jQuery-->
<div id="treeMapContainer"></div>
<div class="inline" style="text-align:center">
    <div>layoutDirection:&nbsp;</div>
    <div id="selectBoxContainer"></div>
</div>
<!--/@jQuery-->
<!--@Knockout-->
<div id="treeMapContainer" data-bind="dxTreeMap: {
    dataSource: '/Content/data/displays.json',
    layoutDirection: selectedLayoutDirection
}"></div>
<div class="inline" style="text-align:center">
    <div>layoutDirection:&nbsp;</div>
    <div id="selectBoxContainer" data-bind="dxSelectBox: {
        items: layoutDirections,
        value: selectedLayoutDirection
    }"></div>
</div>
<!--/@Knockout-->
<!--@AngularJS-->
<div ng-controller="treeMapController">
    <div id="treeMapContainer" dx-tree-map="{
        dataSource: '/Content/data/displays.json',
        bindingOptions: {
            layoutDirection: 'selectedLayoutDirection'
        }
    }"></div>
    <div class="inline" style="text-align:center">
        <div>layoutDirection:&nbsp;</div>
        <div id="selectBoxContainer" dx-select-box="{
            items: layoutDirections,
            bindingOptions: {
                value: 'selectedLayoutDirection'
            }
        }"></div>
    </div>
</div>
<!--/@AngularJS-->